﻿
/**** Základní definice ****/

body 
{
	margin: 0;
	padding: 0;	
}

body, button 
{
	font-family: "Arial", sans-serif;
	font-size: small;
}



/*** Layout ***/

#navigation 
{
	border-bottom: 1px solid #DDD;
}

#navigation ul 
{
	list-style: none;
	margin: 0;
	padding: 0;
}

#navigation ul li 
{
	margin: 0 1ex 0 0;
	padding: 0;
	display:block;
}

#homepage 
{
    text-align: center;
}

#homepage fieldset 
{
    width: 500px;
    margin: 1ex auto;
}

#homepage input, #homepage button 
{
    font-size: 120%;
}

#homepage button.search
{
    margin-right: -6em;
}

#logo
{
    margin: 5em 0 3em;
}

#search-form
{
    
}



/**** Formuláře ****/

fieldset 
{
    text-align: left;
}


label
{
    font-weight: bold;
}

label.checkbox 
{
    font-weight: normal;
}

input[type=checkbox]
{
    vertical-align: -10%;
}


/*** Vyhledávácí formulář ***/

input.search
{
	padding: 3px;
	background-image: -webkit-linear-gradient(top, #FAFCFA, #FFF);
	background-image: -moz-linear-gradient(top, #FAFCFA, #FFF);
	background-image: -ms-linear-gradient(top, #FAFCFA, #FFF);
	background-image: -o-linear-gradient(top, #FAFCFA, #FFF);
	background-image: linear-gradient(top, #FAFCFA, #FFF);
	border: 1px solid #CCC;
}

input.search:focus
{
	background-image: -webkit-linear-gradient(top, #FDFFFD, #FFF);
	background-image: -moz-linear-gradient(top, #FDFFFD, #FFF);
	background-image: -ms-linear-gradient(top, #FDFFFD, #FFF);
	background-image: -o-linear-gradient(top, #FDFFFD, #FFF);
	background-image: linear-gradient(top, #FDFFFD, #FFF);
	border-color: #AAA;
	outline: none;
}

label.type-list 
{
    display: block;
}

div.type-list 
{
    padding-left: 2em;
}

div.type-list span 
{
    display: block;
}


/*** Zelená tlačítka ***/

button 
{
	background-color: #7fbf4d;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#7fbf4d), to(#63a62f));
	/* Saf4+, Chrome */
	background-image: -webkit-linear-gradient(top, #7fbf4d, #63a62f);
	background-image: -moz-linear-gradient(top, #7fbf4d, #63a62f);
	background-image: -ms-linear-gradient(top, #7fbf4d, #63a62f);
	background-image: -o-linear-gradient(top, #7fbf4d, #63a62f);
	background-image: linear-gradient(top, #7fbf4d, #63a62f);
	border: 1px solid #63a62f;
	border-bottom: 1px solid #5b992b;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: inset 0 1px 0 0 #96ca6d;
	-moz-box-shadow: inset 0 1px 0 0 #96ca6d;
	-ms-box-shadow: inset 0 1px 0 0 #96ca6d;
	-o-box-shadow: inset 0 1px 0 0 #96ca6d;
	box-shadow: inset 0 1px 0 0 #96ca6d;
	color: #fff;
	line-height: 1;
	padding: 7px 1em 8px;
	text-align: center;
	text-shadow: 0 -1px 0 #4c9021;
}

button:hover 
{
	background-color: #76b347;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#76b347), to(#5e9e2e));
	/* Saf4+, Chrome */
	background-image: -webkit-linear-gradient(top, #76b347, #5e9e2e);
	background-image: -moz-linear-gradient(top, #76b347, #5e9e2e);
	background-image: -ms-linear-gradient(top, #76b347, #5e9e2e);
	background-image: -o-linear-gradient(top, #76b347, #5e9e2e);
	background-image: linear-gradient(top, #76b347, #5e9e2e);
	-webkit-box-shadow: inset 0 1px 0 0 #8dbf67;
	-moz-box-shadow: inset 0 1px 0 0 #8dbf67;
	-ms-box-shadow: inset 0 1px 0 0 #8dbf67;
	-o-box-shadow: inset 0 1px 0 0 #8dbf67;
	box-shadow: inset 0 1px 0 0 #8dbf67;
	cursor: pointer;
}

button:active 
{
	border: 1px solid #5b992b;
	border-bottom: 1px solid #538c27;
	-webkit-box-shadow: inset 0 0 8px 4px #548c29, 0 1px 0 0 #eeeeee;
	-moz-box-shadow: inset 0 0 8px 4px #548c29, 0 1px 0 0 #eeeeee;
	-ms-box-shadow: inset 0 0 8px 4px #548c29, 0 1px 0 0 #eeeeee;
	-o-box-shadow: inset 0 0 8px 4px #548c29, 0 1px 0 0 #eeeeee;
	box-shadow: inset 0 0 8px 4px #548c29, 0 1px 0 0 #eeeeee;
}



/**** Výsledky vyhledávání ****/

div.results
{
	padding: 1em;
}



/*** Icons ***/

div.file 
{
	padding-left: 24px;
	background-position: 0 50%;
	background-repeat: no-repeat;
}

div.file.unknown { background-image: url("icons/unknown.png"); }
div.file.video { background-image: url("icons/video.png"); }
div.file.hdvideo { background-image: url("icons/hd-video.png"); }
div.file.audio { background-image: url("icons/music.png"); }
div.file.photo { background-image: url("icons/image.png"); }
div.file.iso { background-image: url("icons/iso.png"); }